package com.weseal.dao;

import com.weseal.domain.UserInfo;
import com.weseal.query.FreedomUserQuery;
import com.weseal.query.UserInfoQuery;

import java.util.List;

public interface UserInfoDao {
    int deleteByPrimaryKey(Long id);

    int insert(UserInfo record);

    UserInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserInfo record);
    
    List<UserInfo> pageQuery(UserInfoQuery query);

	List<UserInfo> pageQueryRemoveUserByTime(FreedomUserQuery query);
}